﻿@{
    ViewBag.Title = "פאנל ניהול";
}
@section headElements{
    <link href="@Url.Content("~/Content/Admin.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/Admin.js")" type="text/javascript"></script>
}
<ul id="Breadcrumbs">
    <li>פאנל ניהול</li>
</ul>
<ul id="adminOptions">
    @if (UserHelper.HasPermission(UserPermissionHelper.Albums))
    {
        <li><a href="@Url.Action("Index", "Albums")">
            <img src="@Url.Content("~/Content/images/settings.png")" />רשימת פרויקטים</a></li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.Users))
    {
        <li><a href="@Url.Action("Index", "Users")">
            <img src="@Url.Content("~/Content/images/settings.png")" />רשימת משתמשים</a></li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.FilmingDays))
    {
        <li><a href="@Url.Action("Index", "FilmingDays")">
            <img src="@Url.Content("~/Content/images/settings.png")" />רשימת ימי צילום</a></li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.ApprovalChecks))
    {
        <li><a href="@Url.Action("Index", "ApprovalChecks")">
            <img src="@Url.Content("~/Content/images/settings.png")" />רשימת שאלות לאישור</a></li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.BackgroundImages))
    {
        <li><a href="@Url.Action("Index", "BackgroundImages")">
            <img src="@Url.Content("~/Content/images/settings.png")" />תמונות רקע</a></li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.DesignVectors))
    {
        <li><a href="@Url.Action("Index", "DesignVectors")">
            <img src="@Url.Content("~/Content/images/settings.png")" />מדבקות</a></li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.PageLayouts))
    {
        <li><a href="@Url.Action("Index", "PageLayouts")">
            <img src="@Url.Content("~/Content/images/settings.png")" />סידורים</a></li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.Masks))
    {
        <li style="display: none;"><a href="@Url.Action("Index", "Masks")">
            <img src="@Url.Content("~/Content/images/settings.png")" />מסכות</a></li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.PremadePages))
    {
        <li><a href="@Url.Action("Index", "PremadePages")">
            <img src="@Url.Content("~/Content/images/settings.png")" />עמודים מוכנים</a></li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.Tips))
    {
        <li><a href="@Url.Action("Index", "Tips")">
            <img src="@Url.Content("~/Content/images/settings.png")" />טיפים</a> </li>
    }
    @if (UserHelper.HasPermission(UserPermissionHelper.Admin))
    {
        <li><a href="@Url.Action("Settings")">
            <img src="@Url.Content("~/Content/images/settings.png")" />הגדרות כלליות</a></li>
        <li><a href="@Url.Action("SystemStatus")">
            <img src="@Url.Content("~/Content/images/settings.png")" />מצב מערכת</a></li>
        <li><a href="@Url.Action("DisplayLog")">
            <img src="@Url.Content("~/Content/images/settings.png")" />Logging</a></li>
        <li><a href="@Url.Action("PageMeta")">
            <img src="@Url.Content("~/Content/images/settings.png")" />Pages Meta Tags</a></li>
    }
</ul>
